| 1. | The most common source of unintentional object retention is the use of a 无意识对象保留最常见的原因是使用 |
| 2. | What is the difference between a memory leak and unintentional object retention 内存泄漏和无意识的对象保留的区别是什么呢? |
| 3. | C programs can have unintentional object retention just like java programs can C + +程序跟java程序一样,可能产生无意识的对象保留。 |
| 4. | Keep in mind that the example here was a deliberately mis - scoped one , essentially a case of unintentional object retention 请记住这是个有意弄错作用域的例子,其实质是一个无意识的对象保留的例子。 |
| 5. | In languages without garbage collection , like c , there is a difference between memory leak and unintentional object retention 对于没有垃圾收集的语言来说,例如c + + ,内存泄漏和无意识的对象保留是有区别的。 |
| 6. | We saw how failing to demarcate an object s lifecycle could cause unintentional object retention when trying to associate metadata with transient objects 我们看到了,不能划分对象的生命周期会导致,在试图将元数据关联到瞬时对象时出现意外的对象保持。 |
| 7. | This month , sanitation engineer brian goetz explores a common cause of unintentional object retention and shows how to plug the leak with weak references 本月,负责保障应用程序健康的工程师brian goetz探讨了无意识的对象保留的常见原因,并展示了如何用弱引用堵住泄漏。 |
| 8. | We prefer to use the term " unintentional object retention " for the memory problems that make java programmers tear their hair out , so we can distinguish ourselves from all those other programmers who have to deal with more retrograde languages 所以,我们更喜欢用“无意识的对象保留”来表示这个令java程序员抓破头皮的内存问题。这样,我们就能区别于其他使用没有垃圾收集语言的程序员。 |
| 9. | The well - known problems of dangling pointers and memory leaks simply do not occur in java programs . java programs can exhibit a form of memory leak , more accurately called unintentional object retention , but this is a different problem 著名的悬空指针和内存泄漏问题在java程序中再也不会发生了( java程序可能会出现某种形式的内存泄漏,更精确地说是非故意的对象保留,但是这是一个不同的问题) 。 |
| 10. | The garbage collector has proved to be generally accurate in determining which objects are dead and then reclaiming their space . so if you are getting out - of - memory errors , it is extremely likely that your application is experiencing " unintentional object retention . 所以,如果您遇到了内存耗尽的错误,那么这完全可能是由您的程序造成的,也就是说您的程序中存在着“无意识的对象保留( unintentional object retention ) ” 。 |